type Codegenerator = Common.CommonRecord<{
    fieldName: string;
    fieldType: string;
    fieldDescription: string;
    fieldDefaultValue: string;
    fieldIsKey: boolean;
    fieldIsNullable: boolean;
    fieldIsUnique: boolean;
    fieldIsAutoIncrement: boolean;
}>;

type CodegeneratorSearchParams = CommonType.RecordNullable<Pick<Codegenerator>> & CommonSearchParams;
type CodegeneratorList = Common.PaginatingQueryRecord<Codegenerator>;

type CodegeneratorUpdate = CommonType.RecordNullable<Pick<Codegenerator, 'fieldName'>> &
  Partial<Pick<Codegenerator, 'fieldType' | 'fieldDescription' | 'fieldDefaultValue' | 'fieldIsKey' | 'fieldIsNullable' | 'fieldIsUnique' | 'fieldIsAutoIncrement'>>;